-- GENERATED SPELL FOR [Johnny Yes] --


function spell0_32523(pUnit, Event) --@Net,n/a--
pUnit:FullCastSpellOnTarget(12024,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_32523', 5315, 1)
end

function Sorts_32523(pUnit, Event)
local choix_sorts_32523 = math.random(0, 0)
if choix_sorts_32523 == 0 then
pUnit:RegisterEvent('spell0_32523', 1, 1)
end
end

function mob32523_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_32523', math.random(1500, 3000), 1)
end

function mob32523_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32523_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32523_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(32523, 1, 'mob32523_Action')
RegisterUnitEvent(32523, 2, 'mob32523_Leave')
RegisterUnitEvent(32523, 3, 'mob32523_Kill')
RegisterUnitEvent(32523, 4, 'mob32523_Die')
